package org.liuqm.proxy.staticproxy;

import java.util.Date;

public class BuyerProxy implements Buyer{

    Buyer target = null;

    public BuyerProxy(Buyer target) {
        this.target = target;
    }

    @Override
    public void lookHome(String userName, boolean weChat) {
        //房东预约时间、拿钥匙、带真实主题去看房
        System.out.println("中介与房东约看房时间");
        target.lookHome(userName,weChat);
        System.out.println("中介与房东沟通看房的结果");


    }

    @Override
    public void buyerHome(String userName, boolean hasWeChat) {

    }
}
